package com.xujie.sportsmeeting.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 比赛项目查询DTO
 */
@Data
@Schema(description = "比赛项目查询DTO")
public class EventQueryDTO {
    
    @Schema(description = "当前页", example = "1")
    private Long current = 1L;
    
    @Schema(description = "每页大小", example = "10")
    private Long size = 10L;
    
    @Schema(description = "关键词")
    private String keyword;
    
    @Schema(description = "项目类型：1-个人项目，2-团体项目")
    private Integer eventType;
    
    @Schema(description = "性别限制：0-不限，1-男子，2-女子")
    private Integer genderLimit;
    
    @Schema(description = "年龄分组")
    private String ageGroup;
    
    @Schema(description = "成绩单位")
    private String unit;
    
    @Schema(description = "状态：0-禁用，1-正常，2-报名中，3-比赛中，4-已结束")
    private Integer status;
}
